vim.keymap.set("n", ",,", function()
  vim.cmd '!nim r "%:p"'
end, { buffer = 0, desc = "Compile and run" })
vim.opt_local.commentstring = "#%s"
vim.b[0].match_words = [[{\.:\.}]]

local manual_pairs = require "manual-pairs"
manual_pairs.map_pair("<a-.>", "{.", ".}")
